package com.zzg.cloud;

import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.context.annotation.EnableAspectJAutoProxy;
import org.springframework.scheduling.annotation.EnableAsync;

@SpringBootApplication(scanBasePackages = {"com.zzg"})
@EnableEurekaClient
@EnableConfigurationProperties
@EnableAspectJAutoProxy(exposeProxy = true)
@EnableAsync
@Slf4j
public class MySpringCloudDemoProviderApplication {
    public static void main(String[] args) {
        SpringApplication.run(MySpringCloudDemoProviderApplication.class, args);
        log.info("MySpringCloudDemoProvider，启动！");
    }
}